<?php
/**
 * @package WordPress Themes
 * @subpackage Tencent CDC Theme
 */
get_header(); ?>

<div id="container">
<div id="content">
		<p id="inside_nav">您正在查看的分类目录是：<a href="<?php bloginfo('url'); ?>">首页</a> > <?php the_category( ' > '&'multiple'); ?></p>
	<?php if (have_posts()) : ?>
		<?php while (have_posts()) : the_post(); ?>
     <div class="content_text">
     	<div class="context_text_in">
			<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="链接到&nbsp;<?php the_title(); ?>"><?php the_title(); ?></a></h1>
			<h2 class="post_author"> 
				<div class="photo_left">
					<?php echo get_avatar(get_the_author_email(),40); ?>
				</div>
				<div class="author_right">
					<div class="author_right_top"><Span><?php the_author() ?> [ <span><?php the_category(','); ?></span> ]</span></div>
					<div class="author_right_bottom"><?php the_date() ?></div>	
				</div>	 
			</h2>
		<?php the_excerpt(); ?>
		<h2> <a href="<?php the_permalink() ?>#comments" title="<?php the_title(); ?> 上的评论"><?php comments_number('[快来抢沙发]', '[沙发没有了，板凳也不错]', '[已经有 % 条评论]'); ?></a> | <?php if(function_exists('the_views')) { the_views(); } ?>  </h2>
		</div>	
	 </div>

	<?php endwhile; ?>	
	<?php endif; ?>
	
	<div class="navigation">
		<?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
	</div>
</div>

<?php get_sidebar(); ?>
<?php get_footer(); ?>